﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DLog.Model
{
    /// <summary>
    /// 日志信息模型
    /// </summary>
    public class LogModel
    {
        /// <summary>
        /// log number
        /// </summary>
        [Key]
        public string LogId { get; set; }
        /// <summary>
        /// create date
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// origin
        /// </summary>
        public string Origin { get; set; }
        /// <summary>
        /// log level
        /// </summary>
        public int LogLevel { get; set; }
        /// <summary>
        /// message
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// stack trade information
        /// </summary>
        public string StackTrade { get; set; }
    }
}
